//

//

#import <Foundation/Foundation.h>

@interface StringUtil : NSObject

//判断字符串是否为空
+ (BOOL ) isEmpty:(NSString *) s;

+(NSString *) notEmpty:(id) s;

//获取NSDictionary对应的值，如果为nil则转换为空字符串
+(NSString *) strForDicKey:(NSDictionary *)dic andKey:(NSString *)key;

//NSString中去除html标签
+ (NSString *) stringByStrippingHTML:(NSString *)s;

+ (BOOL) containsWith :(NSString *) s1  instr: (NSString *) s2;

+(NSString*) jsonKeyStringWithJson :(NSDictionary * ) json  key :(NSString *)key;

+(NSString*) trim :(NSString * ) str;
//+stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]]
@end
